package sury.assemble;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages = "sury")
@MapperScan("sury.dal.mapper")
@Slf4j
@EnableCaching
@EnableScheduling
public class YubanApplication {
    public static void main(String[] args) {
        SpringApplication.run(YubanApplication.class, args);
        //log.info("server started");
    }
}
